﻿<UserControl x:Class="WPFGeebaClient.threadControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignWidth="639">
    <Grid  Background="{x:Null}" Width="638">
        <Grid.RowDefinitions>
            <RowDefinition Height="28" />
            <RowDefinition Height="28" />
            <RowDefinition Height="28*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="30"/>
            <ColumnDefinition Width="29"/>
            <ColumnDefinition Width="91"/>
            <ColumnDefinition Width="250"/>
            <ColumnDefinition Width="104"/>
            <ColumnDefinition Width="136*"/>

        </Grid.ColumnDefinitions>
        <Image Height="25" Margin="2,4,2,0" HorizontalAlignment="Left" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="26" Source="/WPFGeebaClient;component/Images/1337098711_wall%20post.png" />
        <Label Grid.Row="0" Grid.Column="1" Content="ID"  HorizontalAlignment="Left"  Name="label1" VerticalAlignment="Top" />
        <Label Grid.Column="2" Content="Subject:" HorizontalAlignment="Left" Name="label2" />
        <Label Grid.Row="1" Grid.Column="2" Content="Content:"  HorizontalAlignment="Left" Name="label4" VerticalAlignment="Top" />
        <Label Grid.Column="3" HorizontalAlignment="Left" Name="threadTxt" VerticalAlignment="Top" FontSize="20"  Grid.RowSpan="2" />

        <Label  Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Name="tidTxt" VerticalAlignment="Top" />
        <Label  Grid.Row="1" Grid.Column="3" Content="{Binding ElementName=contentEditText, Path=Text}"  HorizontalAlignment="Left"  Name="contentTxt" VerticalAlignment="Top"  />
        <TextBox Grid.Row="1" Grid.Column="3" Visibility="Hidden" HorizontalAlignment="Left" Name="contentEditText" VerticalAlignment="Top"   DataContext="{Binding ElementName=contentTxt, Path=Content}" Grid.RowSpan="2" />

        <Expander Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4" Header="Comments" HorizontalAlignment="Left"  Name="expanderPosts" Expanded="expanderPosts_Expanded" VerticalAlignment="Top" Grid.RowSpan="2">
            <StackPanel Margin="10,4,0,0">
                <ListBox HorizontalAlignment="Left" Margin="-1,5,0,0" Name="postsListbox" VerticalAlignment="Top"  />
            </StackPanel>
        </Expander>



        <Label Grid.Row="1" Grid.Column="4" FontSize="14"  HorizontalAlignment="Left"  Name="publishedByLabel" VerticalAlignment="Top" Foreground="#FFC4B8B8" />
        <Label Grid.Row="0" Grid.Column="4" Content="Published by" HorizontalAlignment="Left"  Name="label5" VerticalAlignment="Top" />
        <Label Grid.Row="1" Grid.Column="5" FontSize="14"  HorizontalAlignment="Left"  Name="LastModifyLabel" VerticalAlignment="Top"  Foreground="#FFC4B8B8" />
        <Label Grid.Row="0" Grid.Column="5" Content="Last Modified"  HorizontalAlignment="Left" Name="label7" VerticalAlignment="Top" />
        
    </Grid>
</UserControl>
